package com.ekingstar.framework.domain;

import java.util.Date;


/**
 * AbstractUserRole entity provides the base persistence definition of the UserRole entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUserRole  implements java.io.Serializable {


     // Fields    
     private String id;
     private Role TRole;
     private User TUser;
     private Date lastUpdateDate;
     private String updaterId;
     private Date addDate;
     private String adderId;
     private String deleterId;
     private Date deleteDate;

     private Boolean canUse;
     private Boolean canGrant;
     private String granterId;

    // Constructors

    public String getGranterId() {
		return granterId;
	}

	public void setGranterId(String granterId) {
		this.granterId = granterId;
	}

	public Boolean getCanUse() {
		return canUse;
	}

	public void setCanUse(Boolean canUse) {
		this.canUse = canUse;
	}

	public Boolean getCanGrant() {
		return canGrant;
	}

	public void setCanGrant(Boolean canGrant) {
		this.canGrant = canGrant;
	}

	/** default constructor */
    public AbstractUserRole() {
    }

	/** minimal constructor */
    public AbstractUserRole(String id) {
        this.id = id;
    }
    
    /** full constructor */
    public AbstractUserRole(String id, Role TRole, User TUser, Date lastUpdateDate, String updaterId, Date addDate, String adderId, String deleterId, Date deleteDate) {
        this.id = id;
        this.TRole = TRole;
        this.TUser = TUser;
        this.lastUpdateDate = lastUpdateDate;
        this.updaterId = updaterId;
        this.addDate = addDate;
        this.adderId = adderId;
        this.deleterId = deleterId;
        this.deleteDate = deleteDate;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Role getTRole() {
        return this.TRole;
    }
    
    public void setTRole(Role TRole) {
        this.TRole = TRole;
    }

    public User getTUser() {
        return this.TUser;
    }
    
    public void setTUser(User TUser) {
        this.TUser = TUser;
    }

    public Date getLastUpdateDate() {
        return this.lastUpdateDate;
    }
    
    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getUpdaterId() {
        return this.updaterId;
    }
    
    public void setUpdaterId(String updaterId) {
        this.updaterId = updaterId;
    }

    public Date getAddDate() {
        return this.addDate;
    }
    
    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public String getAdderId() {
        return this.adderId;
    }
    
    public void setAdderId(String adderId) {
        this.adderId = adderId;
    }

    public String getDeleterId() {
        return this.deleterId;
    }
    
    public void setDeleterId(String deleterId) {
        this.deleterId = deleterId;
    }

    public Date getDeleteDate() {
        return this.deleteDate;
    }
    
    public void setDeleteDate(Date deleteDate) {
        this.deleteDate = deleteDate;
    }
   








}